import { requestV1 } from '../utils/request';
import { platformApi, downplatformApi, downstatsApi } from '../api';
import { ResponseState, ParamsState } from './services';

// 1. 平台视频图像数据
export const platform = (params?: ParamsState): Promise<ResponseState> => {
  return requestV1.get(platformApi, { params });
};

// 2. 下级平台视频图像数据
export const downplatform = (params?: ParamsState): Promise<ResponseState> => {
  return requestV1.get(downplatformApi, { params });
};

// 3. 下级平台统计服务列表
export const downstatsList = (params?: ParamsState): Promise<ResponseState> => {
  return requestV1.get(downstatsApi, { params });
};

export default '';
